﻿using System;
using System.Collections.Generic;
using DataAccess;

namespace DataAccess
{
    public class EducationModule : ServiceObject
    {
        public EducationModule()
        {
        }

        public EducationModule(long id, String name, String description, String holdingType,
                                String participantType, Boolean needApprove, Boolean isPublicAssigne,
                                Int32 pay, String payCurrancy, Int32 duration, String durationType,
                                String labels, String difficult, String status,
                                IList<User> users, IList<EducationModule> dependModules, 
                                IList<EducationGroup> groups, IList<Document> docs)
        {
            Id = id;
            Name = name;
            Description = description;
            HoldingType = holdingType;
            ParticipantType = participantType;
            IsNeedApprove = needApprove;
            IsPublicAssigne = isPublicAssigne;
            Pay = pay;
            PayCurrancy = payCurrancy;
            Duration = duration;
            DurationType = durationType;
            Labels = labels;
            Difficult = difficult;
            Status = status;
            Users = users;
            DependModules = dependModules;
            Groups = groups;
            Docs = docs;
        }

        public String Name { get; set; }

        public String Description { get; set; }

        public String HoldingType { get; set; }

        public String ParticipantType { get; set; }

        public Boolean IsNeedApprove { get; set; }

        public Boolean IsPublicAssigne { get; set; }

        public Int32 Pay { get; set; }

        public String PayCurrancy { get; set; }

        public Int32 Duration { get; set; }

        public String DurationType { get; set; }

        public String Labels { get; set; }

        public String Difficult { get; set; }

        public String Status { get; set; }

        public IList<User> Users { get; set; }

        public IList<EducationModule> DependModules { get; set; }

        public IList<EducationGroup> Groups { get; set; }

        public IList<Document> Docs { get; set; }

    }
}